Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix hidden points in skeleton comparison in quality checks #7191

Merged
merged 8 commits into from
Nov 28, 2023

Conversation

zhiltsov-max
Copy link
Contributor

Motivation and context

  • Now only the visible subset of the points is matched for both skeletons (previously, the GT skeleton visibility was used)
    This conforms with the overall IoU (or accuracy-based) approach to the quality metrics, used in other comparisons.

  • Added protection from invalid numbers in the distance matching function to avoid similar problems with other annotations

  • Updated python test docs about assets updating

How has this been tested?

Unit test

Checklist

  • I submit my changes into the develop branch
  • I have created a changelog fragment
  • I have updated the documentation accordingly
  • I have added tests to cover my changes
  • I have linked related issues (see GitHub docs)
  • I have increased versions of npm packages if it is necessary
    (cvat-canvas,
    cvat-core,
    cvat-data and
    cvat-ui)

License

  • I submit my code changes under the same MIT License that covers the project.
    Feel free to contact the maintainers if that's a concern.

@zhiltsov-max zhiltsov-max marked this pull request as draft November 27, 2023 15:03
@zhiltsov-max zhiltsov-max marked this pull request as ready for review November 27, 2023 15:49
Copy link

codecov bot commented Nov 27, 2023

Codecov Report

Merging #7191 (5487a6b) into develop (e995f9a) will decrease coverage by 0.01%.
The diff coverage is 100.00%.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #7191      +/-   ##
===========================================
- Coverage    81.48%   81.47%   -0.01%     
===========================================
  Files          364      364              
  Lines        39877    39881       +4     
  Branches      3702     3702              
===========================================
  Hits         32494    32494              
- Misses        7383     7387       +4     
Components Coverage Δ
cvat-ui 75.48% <ø> (-0.10%) ⬇️
cvat-server 87.09% <100.00%> (+0.07%) ⬆️

@zhiltsov-max zhiltsov-max requested review from SpecLad and removed request for azhavoro and Marishka17 November 28, 2023 08:36
tests/python/rest_api/test_quality_control.py Show resolved Hide resolved
@@ -0,0 +1,4 @@
### Fixed

- Incorrect handling of the hidden points in skeletons in quality comparisons
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AFAICS, the first change in quality_reports.py isn't related to skeletons, so it probably deserves another entry.

@SpecLad SpecLad merged commit bd27827 into develop Nov 28, 2023
43 checks passed
@SpecLad SpecLad deleted the zm/fix-skeleton-comparison branch November 28, 2023 12:47
@cvat-bot cvat-bot bot mentioned this pull request Dec 11, 2023
amjadsaadeh pushed a commit to amjadsaadeh/cvat that referenced this pull request Dec 14, 2023
)

- Now only the visible subset of the points is matched for both
  skeletons (previously, the GT skeleton visibility was used)
  This conforms with the overall IoU (or accuracy-based) approach to the
  quality metrics, used in other comparisons.

- Added protection from invalid numbers in the distance matching
  function to avoid similar problems with other annotations

- Updated python test docs about assets updating
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants